<?php
/**
 * Created by PhpStorm.
 * User: hehecat
 * Date: 2018/8/30
 * Time: 15:23
 */

namespace app\sadmin\model;


use think\Db;
use think\Model;

class gameModel extends Model {

    public function getGame() {
        $club = Db::table('game')->select();
        return $club;
    }

    public function getGameImg($game_id) {
        $game = Db::table('game')->where('gameid',$game_id)->find();
        return $game;
    }


}